Micron Document
Fox's Git Mirrors

Commit a453fc954492362d0497a66833daa8937b424147


Parents : 4bc42d6
Author : Mark Qvist <mark@adepta.io>
Date : 2020-06-01T21:27:38+02:00

Fixed GPS serial querying

Changes

2 files changed, 3 insertions(+), 3 deletions(-)

M device.h +1 -1

Diff

diff --git a/device.h b/device.h
index f89e2e0..f15efa7 100755
--- a/device.h
+++ b/device.h
@@ -5,7 +5,7 @@
// Version info
#define MAJ_VERSION 0x01
-#define MIN_VERSION 0x04
+#define MIN_VERSION 0x05
// CPU settings
#define TARGET_CPU m1284p

diff --git a/hardware/Serial.c b/hardware/Serial.c
index dadbad0..ac201a5 100755
--- a/hardware/Serial.c
+++ b/hardware/Serial.c
@@ -84,7 +84,7 @@ ISR(USART0_RX_vect) {
char c = uart0_getchar_nowait();
fifo_push(&uart0FIFO, c);
} else {
- //uart0_getchar_nowait();
+ uart0_getchar_nowait();
}
}
}
@@ -95,7 +95,7 @@ ISR(USART1_RX_vect) {
char c = uart1_getchar_nowait();
fifo_push(&uart1FIFO, c);
} else {
- //uart1_getchar_nowait();
+ uart1_getchar_nowait();
}
}
}

Served by rngit 1.5.0 - Generated in 0.13s